from django.urls import path
from . import views

app_name = "apiasset"
urlpatterns = [
    # 添加资产
    path("add_asset_api/", views.add_asset_api, name="add_asset_api"),
    # 删除资产
    path("del_asset_api/", views.del_asset_api, name="del_asset_api"),
    # 按房间查找资产
    path("find_asset_api/", views.find_asset_api, name="find_asset_api"),
    # 修改资产名
    path("change_asset_api/", views.change_asset_api, name="change_asset_api"),
    # 修改资产价格
    path("change_price_api/", views.change_price_api, name="change_price_api"),
    # 采购
    path("asset_buy/", views.asset_buy, name="asset_buy"),
    # 报损资产移出
    path("damage_asset_add/", views.damage_asset_add, name="damage_asset_add"),
    # 报损资产查询
    path("damage_asset_find/", views.damage_asset_find, name="damage_asset_find"),
    # 报损资产删除
    path("damage_asset_del/", views.damage_asset_del, name="damage_asset_del"),
    # 资产领用
    path("asset_move_api/", views.asset_move_api, name="asset_move_api"),
	# 资产清单
	path("asset_show/", views.asset_show, name="asset_show"),

]